Integrand size = 21, antiderivative size = 631 \[ \int \frac {x^5 \left (a+b \text {sech}^{-1}(c x)\right )}{\left (d+e x^2\right )^2} \, dx=-\frac {b \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}{2 c e^2}+\frac {d \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2 \left (e+\frac {d}{x^2}\right )}+\frac {x^2 \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right )^2}{b e^3}-\frac {b d \sqrt {-1+\frac {1}{c^2 x^2}} \text {arctanh}\left (\frac {\sqrt {c^2 d+e}}{c \sqrt {e} \sqrt {-1+\frac {1}{c^2 x^2}} x}\right )}{2 e^{5/2} \sqrt {c^2 d+e} \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{-2 \text {sech}^{-1}(c x)}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,-e^{-2 \text {sech}^{-1}(c x)}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3} \]
[Out]
Time = 1.00 (sec) , antiderivative size = 631, normalized size of antiderivative = 1.00, number of steps used = 32, number of rules used = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.714, Rules used = {6438, 5959, 5883, 97, 5882, 3799, 2221, 2317, 2438, 5957, 533, 385, 214, 5962, 5681} \[ \int \frac {x^5 \left (a+b \text {sech}^{-1}(c x)\right )}{\left (d+e x^2\right )^2} \, dx=-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}+1\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}+1\right )}{e^3}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right )^2}{b e^3}+\frac {2 d \log \left (e^{-2 \text {sech}^{-1}(c x)}+1\right ) \left (a+b \text {sech}^{-1}(c x)\right )}{e^3}+\frac {d \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2 \left (\frac {d}{x^2}+e\right )}+\frac {x^2 \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2}-\frac {b d \sqrt {\frac {1}{c^2 x^2}-1} \text {arctanh}\left (\frac {\sqrt {c^2 d+e}}{c \sqrt {e} x \sqrt {\frac {1}{c^2 x^2}-1}}\right )}{2 e^{5/2} \sqrt {\frac {1}{c x}-1} \sqrt {\frac {1}{c x}+1} \sqrt {c^2 d+e}}-\frac {b d \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,-e^{-2 \text {sech}^{-1}(c x)}\right )}{e^3}-\frac {b x \sqrt {\frac {1}{c x}-1} \sqrt {\frac {1}{c x}+1}}{2 c e^2} \]
[In]
[Out]
Rule 97
Rule 214
Rule 385
Rule 533
Rule 2221
Rule 2317
Rule 2438
Rule 3799
Rule 5681
Rule 5882
Rule 5883
Rule 5957
Rule 5959
Rule 5962
Rule 6438
Rubi steps \begin{align*} \text {integral}& = -\text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{x^3 \left (e+d x^2\right )^2} \, dx,x,\frac {1}{x}\right ) \\ & = -\text {Subst}\left (\int \left (\frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{e^2 x^3}-\frac {2 d \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{e^3 x}+\frac {d^2 x \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{e^2 \left (e+d x^2\right )^2}+\frac {2 d^2 x \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{e^3 \left (e+d x^2\right )}\right ) \, dx,x,\frac {1}{x}\right ) \\ & = \frac {(2 d) \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{x} \, dx,x,\frac {1}{x}\right )}{e^3}-\frac {\left (2 d^2\right ) \text {Subst}\left (\int \frac {x \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{e+d x^2} \, dx,x,\frac {1}{x}\right )}{e^3}-\frac {\text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{x^3} \, dx,x,\frac {1}{x}\right )}{e^2}-\frac {d^2 \text {Subst}\left (\int \frac {x \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{\left (e+d x^2\right )^2} \, dx,x,\frac {1}{x}\right )}{e^2} \\ & = \frac {d \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2 \left (e+\frac {d}{x^2}\right )}+\frac {x^2 \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2}-\frac {(2 d) \text {Subst}\left (\int x \tanh \left (\frac {a}{b}-\frac {x}{b}\right ) \, dx,x,a+b \text {sech}^{-1}(c x)\right )}{b e^3}-\frac {\left (2 d^2\right ) \text {Subst}\left (\int \left (-\frac {\sqrt {-d} \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{2 d \left (\sqrt {e}-\sqrt {-d} x\right )}+\frac {\sqrt {-d} \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{2 d \left (\sqrt {e}+\sqrt {-d} x\right )}\right ) \, dx,x,\frac {1}{x}\right )}{e^3}-\frac {b \text {Subst}\left (\int \frac {1}{x^2 \sqrt {-1+\frac {x}{c}} \sqrt {1+\frac {x}{c}}} \, dx,x,\frac {1}{x}\right )}{2 c e^2}-\frac {(b d) \text {Subst}\left (\int \frac {1}{\sqrt {-1+\frac {x}{c}} \sqrt {1+\frac {x}{c}} \left (e+d x^2\right )} \, dx,x,\frac {1}{x}\right )}{2 c e^2} \\ & = -\frac {b \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}{2 c e^2}+\frac {d \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2 \left (e+\frac {d}{x^2}\right )}+\frac {x^2 \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2}+\frac {d \left (a+b \text {sech}^{-1}(c x)\right )^2}{b e^3}-\frac {(-d)^{3/2} \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{\sqrt {e}-\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{e^3}+\frac {(-d)^{3/2} \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{\sqrt {e}+\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{e^3}-\frac {(4 d) \text {Subst}\left (\int \frac {e^{2 \left (\frac {a}{b}-\frac {x}{b}\right )} x}{1+e^{2 \left (\frac {a}{b}-\frac {x}{b}\right )}} \, dx,x,a+b \text {sech}^{-1}(c x)\right )}{b e^3}-\frac {\left (b d \sqrt {-1+\frac {1}{c^2 x^2}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1+\frac {x^2}{c^2}} \left (e+d x^2\right )} \, dx,x,\frac {1}{x}\right )}{2 c e^2 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}} \\ & = -\frac {b \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}{2 c e^2}+\frac {d \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2 \left (e+\frac {d}{x^2}\right )}+\frac {x^2 \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2}+\frac {d \left (a+b \text {sech}^{-1}(c x)\right )^2}{b e^3}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{-2 \text {sech}^{-1}(c x)}\right )}{e^3}-\frac {(-d)^{3/2} \text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}-\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{e^3}+\frac {(-d)^{3/2} \text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}+\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{e^3}-\frac {(2 d) \text {Subst}\left (\int \log \left (1+e^{2 \left (\frac {a}{b}-\frac {x}{b}\right )}\right ) \, dx,x,a+b \text {sech}^{-1}(c x)\right )}{e^3}-\frac {\left (b d \sqrt {-1+\frac {1}{c^2 x^2}}\right ) \text {Subst}\left (\int \frac {1}{e-\left (d+\frac {e}{c^2}\right ) x^2} \, dx,x,\frac {1}{\sqrt {-1+\frac {1}{c^2 x^2}} x}\right )}{2 c e^2 \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}} \\ & = -\frac {b \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}{2 c e^2}+\frac {d \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2 \left (e+\frac {d}{x^2}\right )}+\frac {x^2 \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right )^2}{b e^3}-\frac {b d \sqrt {-1+\frac {1}{c^2 x^2}} \text {arctanh}\left (\frac {\sqrt {c^2 d+e}}{c \sqrt {e} \sqrt {-1+\frac {1}{c^2 x^2}} x}\right )}{2 e^{5/2} \sqrt {c^2 d+e} \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{-2 \text {sech}^{-1}(c x)}\right )}{e^3}-\frac {(-d)^{3/2} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{e^3}-\frac {(-d)^{3/2} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{e^3}+\frac {(-d)^{3/2} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{e^3}+\frac {(-d)^{3/2} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{e^3}+\frac {(b d) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 \left (\frac {a}{b}-\frac {a+b \text {sech}^{-1}(c x)}{b}\right )}\right )}{e^3} \\ & = -\frac {b \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}{2 c e^2}+\frac {d \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2 \left (e+\frac {d}{x^2}\right )}+\frac {x^2 \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right )^2}{b e^3}-\frac {b d \sqrt {-1+\frac {1}{c^2 x^2}} \text {arctanh}\left (\frac {\sqrt {c^2 d+e}}{c \sqrt {e} \sqrt {-1+\frac {1}{c^2 x^2}} x}\right )}{2 e^{5/2} \sqrt {c^2 d+e} \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{-2 \text {sech}^{-1}(c x)}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,-e^{2 \left (\frac {a}{b}-\frac {a+b \text {sech}^{-1}(c x)}{b}\right )}\right )}{e^3}+\frac {(b d) \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{e^3}+\frac {(b d) \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{e^3}+\frac {(b d) \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{e^3}+\frac {(b d) \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{e^3} \\ & = -\frac {b \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}{2 c e^2}+\frac {d \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2 \left (e+\frac {d}{x^2}\right )}+\frac {x^2 \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right )^2}{b e^3}-\frac {b d \sqrt {-1+\frac {1}{c^2 x^2}} \text {arctanh}\left (\frac {\sqrt {c^2 d+e}}{c \sqrt {e} \sqrt {-1+\frac {1}{c^2 x^2}} x}\right )}{2 e^{5/2} \sqrt {c^2 d+e} \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{-2 \text {sech}^{-1}(c x)}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,-e^{2 \left (\frac {a}{b}-\frac {a+b \text {sech}^{-1}(c x)}{b}\right )}\right )}{e^3}+\frac {(b d) \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{e^3}+\frac {(b d) \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{e^3}+\frac {(b d) \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{e^3}+\frac {(b d) \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{e^3} \\ & = -\frac {b \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}} x}{2 c e^2}+\frac {d \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2 \left (e+\frac {d}{x^2}\right )}+\frac {x^2 \left (a+b \text {sech}^{-1}(c x)\right )}{2 e^2}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right )^2}{b e^3}-\frac {b d \sqrt {-1+\frac {1}{c^2 x^2}} \text {arctanh}\left (\frac {\sqrt {c^2 d+e}}{c \sqrt {e} \sqrt {-1+\frac {1}{c^2 x^2}} x}\right )}{2 e^{5/2} \sqrt {c^2 d+e} \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}+\frac {2 d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{-2 \text {sech}^{-1}(c x)}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3}-\frac {d \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{e^3}-\frac {b d \operatorname {PolyLog}\left (2,-e^{2 \left (\frac {a}{b}-\frac {a+b \text {sech}^{-1}(c x)}{b}\right )}\right )}{e^3} \\ \end{align*}
Result contains complex when optimal does not.
Time = 5.54 (sec) , antiderivative size = 1278, normalized size of antiderivative = 2.03 \[ \int \frac {x^5 \left (a+b \text {sech}^{-1}(c x)\right )}{\left (d+e x^2\right )^2} \, dx=-\frac {-2 a e x^2+\frac {2 a d^2}{d+e x^2}+4 a d \log \left (d+e x^2\right )+b \left (\frac {2 e \sqrt {\frac {1-c x}{1+c x}}}{c^2}+\frac {2 e x \sqrt {\frac {1-c x}{1+c x}}}{c}-2 e x^2 \text {sech}^{-1}(c x)+\frac {d^{3/2} \text {sech}^{-1}(c x)}{\sqrt {d}-i \sqrt {e} x}+\frac {d^{3/2} \text {sech}^{-1}(c x)}{\sqrt {d}+i \sqrt {e} x}+16 i d \arcsin \left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \text {arctanh}\left (\frac {\left (-i c \sqrt {d}+\sqrt {e}\right ) \tanh \left (\frac {1}{2} \text {sech}^{-1}(c x)\right )}{\sqrt {c^2 d+e}}\right )+16 i d \arcsin \left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \text {arctanh}\left (\frac {\left (i c \sqrt {d}+\sqrt {e}\right ) \tanh \left (\frac {1}{2} \text {sech}^{-1}(c x)\right )}{\sqrt {c^2 d+e}}\right )-8 d \text {sech}^{-1}(c x) \log \left (1+e^{-2 \text {sech}^{-1}(c x)}\right )+4 d \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-8 i d \arcsin \left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+4 d \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-8 i d \arcsin \left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+4 d \text {sech}^{-1}(c x) \log \left (1-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+8 i d \arcsin \left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+4 d \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+8 i d \arcsin \left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+2 d \log (x)-2 d \log \left (1+\sqrt {\frac {1-c x}{1+c x}}+c x \sqrt {\frac {1-c x}{1+c x}}\right )+\frac {d \sqrt {e} \log \left (\frac {2 i \sqrt {e} \left (\sqrt {d} \sqrt {\frac {1-c x}{1+c x}} (1+c x)+\frac {\sqrt {d} \sqrt {e}+i c^2 d x}{\sqrt {c^2 d+e}}\right )}{i \sqrt {d}+\sqrt {e} x}\right )}{\sqrt {c^2 d+e}}+\frac {d \sqrt {e} \log \left (\frac {2 \sqrt {e} \left (i \sqrt {d} \sqrt {\frac {1-c x}{1+c x}} (1+c x)+\frac {i \sqrt {d} \sqrt {e}+c^2 d x}{\sqrt {c^2 d+e}}\right )}{-i \sqrt {d}+\sqrt {e} x}\right )}{\sqrt {c^2 d+e}}+4 d \operatorname {PolyLog}\left (2,-e^{-2 \text {sech}^{-1}(c x)}\right )-4 d \operatorname {PolyLog}\left (2,-\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-4 d \operatorname {PolyLog}\left (2,\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-4 d \operatorname {PolyLog}\left (2,-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-4 d \operatorname {PolyLog}\left (2,\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )\right )}{4 e^3} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 7.18 (sec) , antiderivative size = 786, normalized size of antiderivative = 1.25
method | result | size |
parts | \(\frac {a \,x^{2}}{2 e^{2}}-\frac {a d \ln \left (e \,x^{2}+d \right )}{e^{3}}-\frac {a \,d^{2}}{2 e^{3} \left (e \,x^{2}+d \right )}+\frac {b \left (\frac {c^{4} \left (2 \,\operatorname {arcsech}\left (c x \right ) c^{4} d \,x^{2}+e \,\operatorname {arcsech}\left (c x \right ) c^{4} x^{4}-\sqrt {-\frac {c x -1}{c x}}\, \sqrt {\frac {c x +1}{c x}}\, c^{3} d x -\sqrt {-\frac {c x -1}{c x}}\, \sqrt {\frac {c x +1}{c x}}\, e \,c^{3} x^{3}+c^{2} d +e \,c^{2} x^{2}\right )}{2 \left (e \,c^{2} x^{2}+c^{2} d \right ) e^{2}}+\frac {\sqrt {e \left (c^{2} d +e \right )}\, d \,c^{6} \operatorname {arctanh}\left (\frac {2 c^{2} d \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )^{2}+2 c^{2} d +4 e}{4 \sqrt {c^{2} d e +e^{2}}}\right )}{2 e^{3} \left (c^{2} d +e \right )}+\frac {2 d \,c^{6} \operatorname {arcsech}\left (c x \right ) \ln \left (1+i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}+\frac {2 d \,c^{6} \operatorname {arcsech}\left (c x \right ) \ln \left (1-i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}+\frac {2 d \,c^{6} \operatorname {dilog}\left (1+i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}+\frac {2 d \,c^{6} \operatorname {dilog}\left (1-i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}-\frac {d \,c^{6} \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (2 c^{2} d +4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2} c^{2} d +c^{2} d +4 e \right ) \left (\operatorname {arcsech}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d +c^{2} d +2 e}\right )}{2 e^{3}}-\frac {d^{2} c^{8} \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (2 c^{2} d +4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2}+1\right ) \left (\operatorname {arcsech}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d +c^{2} d +2 e}\right )}{2 e^{3}}\right )}{c^{6}}\) | \(786\) |
derivativedivides | \(\frac {\frac {a \,c^{6} x^{2}}{2 e^{2}}-\frac {a \,c^{6} d \ln \left (e \,c^{2} x^{2}+c^{2} d \right )}{e^{3}}-\frac {a \,c^{8} d^{2}}{2 e^{3} \left (e \,c^{2} x^{2}+c^{2} d \right )}+b \,c^{4} \left (\frac {2 \,\operatorname {arcsech}\left (c x \right ) c^{4} d \,x^{2}+e \,\operatorname {arcsech}\left (c x \right ) c^{4} x^{4}-\sqrt {-\frac {c x -1}{c x}}\, \sqrt {\frac {c x +1}{c x}}\, c^{3} d x -\sqrt {-\frac {c x -1}{c x}}\, \sqrt {\frac {c x +1}{c x}}\, e \,c^{3} x^{3}+c^{2} d +e \,c^{2} x^{2}}{2 \left (e \,c^{2} x^{2}+c^{2} d \right ) e^{2}}+\frac {\sqrt {e \left (c^{2} d +e \right )}\, c^{2} d \,\operatorname {arctanh}\left (\frac {2 c^{2} d \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )^{2}+2 c^{2} d +4 e}{4 \sqrt {c^{2} d e +e^{2}}}\right )}{2 e^{3} \left (c^{2} d +e \right )}+\frac {2 c^{2} d \,\operatorname {arcsech}\left (c x \right ) \ln \left (1+i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}+\frac {2 c^{2} d \,\operatorname {arcsech}\left (c x \right ) \ln \left (1-i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}+\frac {2 c^{2} d \operatorname {dilog}\left (1+i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}+\frac {2 c^{2} d \operatorname {dilog}\left (1-i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}-\frac {c^{2} d \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (2 c^{2} d +4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2} c^{2} d +c^{2} d +4 e \right ) \left (\operatorname {arcsech}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d +c^{2} d +2 e}\right )}{2 e^{3}}-\frac {c^{4} d^{2} \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (2 c^{2} d +4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2}+1\right ) \left (\operatorname {arcsech}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d +c^{2} d +2 e}\right )}{2 e^{3}}\right )}{c^{6}}\) | \(810\) |
default | \(\frac {\frac {a \,c^{6} x^{2}}{2 e^{2}}-\frac {a \,c^{6} d \ln \left (e \,c^{2} x^{2}+c^{2} d \right )}{e^{3}}-\frac {a \,c^{8} d^{2}}{2 e^{3} \left (e \,c^{2} x^{2}+c^{2} d \right )}+b \,c^{4} \left (\frac {2 \,\operatorname {arcsech}\left (c x \right ) c^{4} d \,x^{2}+e \,\operatorname {arcsech}\left (c x \right ) c^{4} x^{4}-\sqrt {-\frac {c x -1}{c x}}\, \sqrt {\frac {c x +1}{c x}}\, c^{3} d x -\sqrt {-\frac {c x -1}{c x}}\, \sqrt {\frac {c x +1}{c x}}\, e \,c^{3} x^{3}+c^{2} d +e \,c^{2} x^{2}}{2 \left (e \,c^{2} x^{2}+c^{2} d \right ) e^{2}}+\frac {\sqrt {e \left (c^{2} d +e \right )}\, c^{2} d \,\operatorname {arctanh}\left (\frac {2 c^{2} d \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )^{2}+2 c^{2} d +4 e}{4 \sqrt {c^{2} d e +e^{2}}}\right )}{2 e^{3} \left (c^{2} d +e \right )}+\frac {2 c^{2} d \,\operatorname {arcsech}\left (c x \right ) \ln \left (1+i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}+\frac {2 c^{2} d \,\operatorname {arcsech}\left (c x \right ) \ln \left (1-i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}+\frac {2 c^{2} d \operatorname {dilog}\left (1+i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}+\frac {2 c^{2} d \operatorname {dilog}\left (1-i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e^{3}}-\frac {c^{2} d \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (2 c^{2} d +4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2} c^{2} d +c^{2} d +4 e \right ) \left (\operatorname {arcsech}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d +c^{2} d +2 e}\right )}{2 e^{3}}-\frac {c^{4} d^{2} \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (2 c^{2} d +4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2}+1\right ) \left (\operatorname {arcsech}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d +c^{2} d +2 e}\right )}{2 e^{3}}\right )}{c^{6}}\) | \(810\) |
[In]
[Out]
\[ \int \frac {x^5 \left (a+b \text {sech}^{-1}(c x)\right )}{\left (d+e x^2\right )^2} \, dx=\int { \frac {{\left (b \operatorname {arsech}\left (c x\right ) + a\right )} x^{5}}{{\left (e x^{2} + d\right )}^{2}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^5 \left (a+b \text {sech}^{-1}(c x)\right )}{\left (d+e x^2\right )^2} \, dx=\int \frac {x^{5} \left (a + b \operatorname {asech}{\left (c x \right )}\right )}{\left (d + e x^{2}\right )^{2}}\, dx \]
[In]
[Out]
\[ \int \frac {x^5 \left (a+b \text {sech}^{-1}(c x)\right )}{\left (d+e x^2\right )^2} \, dx=\int { \frac {{\left (b \operatorname {arsech}\left (c x\right ) + a\right )} x^{5}}{{\left (e x^{2} + d\right )}^{2}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^5 \left (a+b \text {sech}^{-1}(c x)\right )}{\left (d+e x^2\right )^2} \, dx=\int { \frac {{\left (b \operatorname {arsech}\left (c x\right ) + a\right )} x^{5}}{{\left (e x^{2} + d\right )}^{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^5 \left (a+b \text {sech}^{-1}(c x)\right )}{\left (d+e x^2\right )^2} \, dx=\int \frac {x^5\,\left (a+b\,\mathrm {acosh}\left (\frac {1}{c\,x}\right )\right )}{{\left (e\,x^2+d\right )}^2} \,d x \]
[In]
[Out]